package com.pureut.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.order.domain.SubcontractingOrder;
import com.pureut.order.dto.SubcontractingOrderDto;
import com.pureut.order.vo.SubcontractingOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***
 *
 * Author:C
 * Date:2022/12/02 9:58
 * @DESC
 */
@Mapper
public interface SubcontractingOrderMapper extends BaseMapper<SubcontractingOrder> {

    /**
     * 获取委外订单列表
     */
    List<SubcontractingOrderDto> getSubcontractingOrderList(SubcontractingOrderVo subcontractingOrderVo);

    /**
     * 根据id获取详情
     */
    SubcontractingOrderDto getViewById(Long id);
}
